package user

/**
 * Author: ycliud
 * Description: user router
 * Date:20250927
 */
import (
	"github.com/gin-gonic/gin"
	"kubernate-server/service"
)

type UserRouter struct {
}

func (*UserRouter) InitUserRouter(r *gin.Engine) {

	group := r.Group("/user")
	{
		//注册
		group.POST("/register", service.ApiGroupApp.Register)
		//登录
		group.POST("/login", service.ApiGroupApp.Login)
	}
}
